﻿<!--
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
-->

<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:CetWin.Phone.Controls">

    <Style TargetType="controls:TileItem">
       
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="controls:TileItem">
                    <Border Background="{StaticResource PhoneAccentBrush}"
                            Margin="12,12,0,0"
                            Width="{TemplateBinding Width}"
                            Height="80">
                        <TextBlock Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content}"
                                   Margin="8,8,8,6"
                                   FontFamily="{StaticResource PhoneFontFamilyNormal}"
                                   FontSize="{StaticResource PhoneFontSizeLarge}"
                                   TextWrapping="Wrap"
                                   LineStackingStrategy="BlockLineHeight"
                                   LineHeight="32"></TextBlock>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

  

</ResourceDictionary>
